package com.fr.report.painter.shape;

import java.awt.Shape;
import java.awt.geom.RoundRectangle2D.Double;

public class RoundedRectangleShapePainter extends AbstractShapePainter
{
  public Shape getShape(double paramDouble1, double paramDouble2)
  {
    double d = Math.min(paramDouble1, paramDouble2);
    return new RoundRectangle2D.Double(0.0D, 0.0D, paramDouble1, paramDouble2, d * 24.0D / 100.0D, d * 24.0D / 100.0D);
  }
}